package cn.iocoder.yudao.module.shop.convert.giftcard;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.shop.controller.admin.giftcard.vo.*;
import cn.iocoder.yudao.module.shop.dal.dataobject.giftcard.ShopGiftCardDO;

/**
 * 礼品卡 Convert
 *
 * @author 曹建伟
 */
@Mapper
public interface ShopGiftCardConvert {

    ShopGiftCardConvert INSTANCE = Mappers.getMapper(ShopGiftCardConvert.class);

    ShopGiftCardDO convert(ShopGiftCardCreateReqVO bean);

    ShopGiftCardDO convert(ShopGiftCardUpdateReqVO bean);

    ShopGiftCardRespVO convert(ShopGiftCardDO bean);

    List<ShopGiftCardRespVO> convertList(List<ShopGiftCardDO> list);

    PageResult<ShopGiftCardRespVO> convertPage(PageResult<ShopGiftCardDO> page);

    List<ShopGiftCardExcelVO> convertList02(List<ShopGiftCardDO> list);

}
